package com.jm3.riscar3.core;

import com.jm3.riscar3.memory.Memory;

public class Microcontroller {

	private int MemorySize = 256;
	private CPU cpu;
	private Memory mem;
	
	public Microcontroller()
	{
		cpu = new CPU();
		mem = new Memory(MemorySize);
	}
	
	public CPU getCPU()
	{
		return cpu;
	}
	
	public Memory getMemory()
	{
		return mem;
	}
	public int getMemorySize(){
		return MemorySize;
	}
	
}
